﻿@{
    ViewBag.Title = "Add";
    Layout = "~/Views/Shared/_QuanLy.cshtml";
}
@model Project.MVC.Model.CategoryInfo
@using Project.MVC.Model;
@using (Html.BeginForm("Edit", "Category", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
        
    <fieldset>
        <table class="tbl">
            <tr>
                <td colspan="4">
                    <div class="header-title">
                        SỬA LOẠI SẢN PHẨM</div>
                </td>
            </tr>
            <tr class="button">
                <td colspan="4">
                    <input type="submit" value="Lưu" />
                    @*   <input type="button" value="Trở về" onclick="Reset()" />*@
                </td>
            </tr>
            <tr>
                <td class="label">
                    Loại sản phẩm
                </td>
                <td colspan="3">
                    @Html.TextBox(CategoryInfo.ListFieldName.Title, Model.Title)
                    @Html.Hidden(CategoryInfo.ListFieldName.Id, Model.Id)
                </td>
            </tr>
            <tr class="button">
                <td colspan="4">
                    <input type="submit" value="Lưu" />
                    @* <input type="button" value="Trở về" onclick="Reset()" />*@
                </td>
            </tr>
        </table>
    </fieldset>
}
<script src="@Url.Content("~/Scripts/js/editor.js")" type="text/javascript"></script>
